package com.jiu345.users.pojo.vo;

import com.jiu345.api.pojo.BaseEntity;
import com.jiu345.users.pojo.Region;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * package:CategoryVo
 * @author MrLei QQ:235921049
 * @date 2024-05-21
 * desc:地区信息返回
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RegionVo extends BaseEntity {
    /*省，直辖市*/
    private String provinceCode;
    private String provinceName;
    /*市，州*/
    private String cityCode;
    private String cityName;
    /*区，县*/
    private String districtCode;
    private String districtName;
    /*子级*/
    private List<Region> children;

}
